

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using JYJ.AiYard.StationManagement.TbVipParams;

namespace JYJ.AiYard.EntityMapper.TbVipParamss
{
    public class TbVipParamsCfg : IEntityTypeConfiguration<TbVipParams>
    {
        public void Configure(EntityTypeBuilder<TbVipParams> builder)
        {

            builder.ToTable("Tb_VipParams", YoYoAbpefCoreConsts.SchemaNames.Dbo);

            
			builder.Property(a => a.Station_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.Vip01).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length200);
			builder.Property(a => a.Vip02).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length200);
			builder.Property(a => a.Vip03).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length200);
			builder.Property(a => a.score01).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.score02).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.score03).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.mon01).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length350);
			builder.Property(a => a.mon02).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length350);
			builder.Property(a => a.mon03).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length350);
			builder.Property(a => a.freeTime01).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length350);
			builder.Property(a => a.freeTime02).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length350);
			builder.Property(a => a.freeTime03).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length350);
			builder.Property(a => a.Ticket01).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.Ticket02).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
            builder.Property(a => a.Ticket03).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.appId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.ApiSecret).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.ApiUrl).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.MallId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.TenantId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreatorUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModifierUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModificationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.IsDeleted).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeleterUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeletionTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);


        }
    }
}


